package com.itheima.mapper;

import com.itheima.domain.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptMapper {


    List<Dept> selectAll();

    void deleteById(Integer id);

    void insertDept(Dept dept);

    Dept getById(Integer id);

    void upadteDept(Dept dept);
}
